<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio (http://www.liquid-technologies.com)-->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="pimv2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <!-- veg 1) Converted complextypes to datatypes instead of sequences of elements. 
           2) That way we do not see them in the editor. Changed elements to attributes.
           3) Also namespaced the types so that have a correct reference.
           4) Changed  above xs:schema element.
           5) Finally removed an illegal quote from a element name! -->
  <xs:include schemaLocation="file:custom_datatypes.xsd" />
  <xs:include schemaLocation="file:Psy_types.xsd" />
  <xs:element name="thema">
    <xs:annotation>
      <xs:documentation>Naam van het thema. Thema is optioneel onderdeel.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="pimv2" name="introductie" type="q1:TekstType" >
          <xs:annotation>
            <xs:documentation>Introductie op het thema.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element xmlns:q1="pimv2" minOccurs="0" name="thematoets" type="q1:ActiviteitType" >
          <xs:annotation>
            <xs:documentation>Toets bij het thema.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element xmlns:q1="pimv2" minOccurs="0" name="leerdoel" type="q1:TekstType" >
          <xs:annotation>
            <xs:documentation>Leerdoelen bij het thema.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="1" maxOccurs="10" name="studietaak">
          <xs:annotation>
            <xs:documentation>Studietaken die deel uitmaken van het thema.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element xmlns:q1="pimv2" name="introductie" type="q1:TekstType" />
              <xs:element xmlns:q1="pimv2" minOccurs="0" name="leerdoel" type="q1:TekstType" />
              <xs:element xmlns:q1="pimv2" minOccurs="0" name="bron" type="q1:BronType" />
              <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="unbounded" name="opdracht" type="q1:ActiviteitType" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute xmlns:q1="pimv2" name="titel" type="xs:string" default="Thema" />
      <xs:attribute xmlns:q1="pimv2" name="studielast" type="xs:double"  default="1"/>
      <xs:attribute xmlns:q1="pimv2" name="code" type="xs:string" default="A00000" />
      <xs:attribute xmlns:q1="pimv2" name="metacourse" type="xs:boolean" fixed="true" />
      <xs:attribute xmlns:q1="pimv2" name="ExportedAs" type="xs:string" fixed="EWB" />
    </xs:complexType>
  </xs:element>
</xs:schema>